//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    sliderList:[
              {selected:true,imageSource:'https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/pz1644495061767.jpg'},
              {selected:false,imageSource:'https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/pz-11644495052619.jpg'},
              {selected:false,imageSource:'https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/%E5%85%89%E5%BD%B11644494730890.jpg'}
            ],
    userInfo: {},
    hasUserInfo: false,
    canIUse: wx.canIUse('button.open-type.getUserInfo'),
    imgUrls: null,
    indicatorDots: true,
    autoplay: true,
    interval: 5000,
    duration: 1000,
    list:[],
    page:1,

    // 子菜单
    logos:[{
      id:"1",
      url:"/pages/main/spare/spare",
      image:"https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/%E9%80%9B%E9%97%B2%E7%BD%AEmdpi1639990070911.png",
      title:"失物招领",
      type:"1"
  },{
      id:"2",
      url:"/pages/main/life/life",
      image:"https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/%E7%94%9F%E6%B4%BB1639990224772.png",
      title:"生活闲谈",
      type:"2"
  },{
      id:"3",
      url:"/pages/main/love/love",
      image:"https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/%E8%A1%A8%E7%99%BD%E5%A2%991636990285923.svg",
      title:"表白墙",
      type:"3"
  },{
      id:"4",
      url:"/pages/main/info/info",
      image:"https://saas.bk-cdn.com/t/3b61a414-ecb4-4bfe-84ce-ca3f25a9edd6/u/f73ad781-8ba7-4e2c-a9db-f5ae3262e20c/%E8%B5%84%E8%AE%AF1639990297077.png",
      title:"校园资讯",
      type:"4"
  }
  ],
  },
  //事件处理函数
  onLoad: function () {
  },

  // 分享微信好友
  onShareAppMessage: function () {
  }
})
